package com.ht.feign;

import com.ht.data.Result;
import com.ht.dto.ProvincesDTO;
import com.ht.dto.TbDepartmentDTO;
import com.ht.dto.TbDiagnoseOrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;

@FeignClient(value = "ht-public-outpatient")
@Component
public interface ExpertOutpatientFeign {
    //根据科室名字查询
    @PostMapping("/sideEffect/queryDepartmentBydepartmentName")
    public Result queryDepartmentBydepartmentName(@RequestParam String departmentName);

    //根据方式增加患者订单
    @PostMapping("/publicoutpatient/outpatientRegistered")
    public Result outpatientRegistered( TbDiagnoseOrderDTO dto);





}
